﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
    CodeFile="password.aspx.cs" Inherits="admin_password" %>

<%@ Register src="../ascx/admin.ascx" tagname="admin" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="Server">
    <form  runat="server">
    <div class="k66">
        <div class="Struct">
            <div class="site">
                <h2>更改密码</h2>
            </div>
            <div class="Content zliao">
                <dl><dt>原始密码:</dt><dd><asp:TextBox ID="txtPassword" TextMode="Password" CssClass="input" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtPassword" ErrorMessage="*请输入密码" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    </dd></dl>
                <dl><dt>新密码:</dt><dd><asp:TextBox ID="txtPassword1" TextMode="Password" CssClass="input" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtPassword1" ErrorMessage="*请输入新密码" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    </dd></dl>
                <dl><dt>确认密码:</dt><dd><asp:TextBox ID="txtPassword2" TextMode="Password" CssClass="input" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtPassword2" Display="Dynamic" ErrorMessage="*请输入确认密码" 
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="txtPassword1" ControlToValidate="txtPassword2" 
                        Display="Dynamic" ErrorMessage="*新密码不一致" SetFocusOnError="True"></asp:CompareValidator>
                    </dd></dl>
                <dl><dt>&nbsp;</dt><dd><asp:Button ID="Button1" CssClass="sub" runat="server" 
                        Text="提 交" onclick="Button1_Click" /></dd></dl>
            </div>
        </div>
    </div>
    </form>
    <uc1:admin ID="admin1" runat="server" />
</asp:Content>
